GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>
Wed, 31 Aug 2016 04:54:25 +0000 (13:54 +0900)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 31 Aug 2016 18:44:50 +0000 (14:44 -0400)
commit0984d1622d022bf67207f985f7842b6299818e20
tree02df47d2807d09a7f93f1a37fd5acfef51cc3ea9
parent738b1e3eece46703106640fe764bb8eacad411cc
GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional

Making propagation of child natural sizes mandatory (or default, even) was
evidently a mistake as this causes dynamic content in a scrolled window
to resize it's parent when the scrolled window is competing for space
with an adjacent widget.

This patch instead adds API to control whether natural width and
height of the child should be propagated through the scrolled windows
size requests.
docs/reference/gtk/gtk3-sections.txt
gtk/gtkscrolledwindow.c
gtk/gtkscrolledwindow.h